package dnl.util.ui.table;

import java.awt.Color;
import java.awt.Font;

import javax.swing.ImageIcon;

/**
  * 
  * 
  * @author Daniel Or
  * @version 1.0
  */
public abstract class RowData {

    /**
     * 
     * @return
     */
	public abstract boolean isEditable();
	
	/**
	 * 
	 * @param column
	 * @return
	 */
	public abstract boolean isEditable(int column);
	
	/**
	 * 
	 * @param column
	 * @return
	 */
	public abstract ImageIcon getIcon(int column);
	
	/**
	 * 
	 * @param column
	 * @return
	 */
	public abstract Object getObjectAt(int column);
	
	/**
	 * 
	 * @param column
	 * @return
	 */
	public abstract String getTextAt(int column);
	
	/**
	 * 
	 * @param column
	 * @param obj
	 */
	public abstract void setObjectAt(int column, Object obj);
	
	/**
	 * 
	 * @param column
	 * @return
	 */
	public abstract Color getForeground(int column);	
	
	/**
	 * 
	 * @param column
	 * @return
	 */
	public abstract Color getBackground(int column);
	
	/**
	 * 
	 * @param column
	 * @return
	 */
	public abstract String getTooltip(int column);
    
	/**
	 * 
	 * @param column
	 * @return
	 */
	public abstract Font getFont(int column);
	
}
